package audio;



public class DefaultSoundFactory implements SoundFactory {

	@Override
	public Sound createSound(String filePath) throws Exception {
			return new GenericSound(filePath);
	}

	@Override
	public Sound createSound(String filePath, Object attributes) throws Exception {
			return new SoundEventSound(filePath, (String[]) attributes);
	}

}
